package com.lifang.framework.beans.factory.support;

public class ConstructorValueHolder {

    private String name;

    private Class<?> type;

    private final Object value;

    public ConstructorValueHolder(String name, Object value) {
        this.name = name;
        this.value = value;
    }

    public ConstructorValueHolder(Class<?> type, Object value) {
        this.type = type;
        this.value = value;
    }

    public String getName() {
        return name;
    }

    public Class<?> getType() {
        return type;
    }

    public Object getValue() {
        return value;
    }
}
